package com.wanxi.step07test.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ParentMapper<T>{
    int add(T t);
    int update(T t);
    int delete(T t);

    T findById(T t);
    List<T> findAll(T t);
    Integer count(T t);
}
